package com.aliyun.messagemgt.dto;

import com.aliyun.messagemgt.common.dto.base.UserInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yangshaobo
 * @date 2021年09月24日
 */
@Accessors(chain = true)
@Data
public class MessageTemplateParam extends UserInfo implements Serializable {

    @ApiModelProperty(value = "属性主键ID")
    private Long id;

    @ApiModelProperty(value = "消息模板id")
    private Long templateId;

    @ApiModelProperty(value = "参数名称")
    private String paramName;

    @ApiModelProperty(value = "参数描述")
    private String paramDescription;

    @ApiModelProperty(value = "是否逻辑删除 Y-已删除 N-未删除")
    private String isDeleted;

    @ApiModelProperty(value = "创建人")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreated;

    @ApiModelProperty(value = "更新人")
    private String modifier;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtModified;

    @ApiModelProperty(value = "attribute1")
    private String attribute1;

    @ApiModelProperty(value = "attribute2")
    private String attribute2;

    @ApiModelProperty(value = "attribute3")
    private String attribute3;

}
